﻿using System;

namespace HYCodeBase.ExcelUtility.ModelLayer
{
	public class Worksheets
	{
		internal Worksheets(object thisobject)
		{
			this.m_workSheets = thisobject;
		}

		public Worksheet Get_Item(int index)
		{
			return new Worksheet(ExcelUtilityMethod.GetProperty(this.m_workSheets, "Item", new object[]
			{
				index
			}));
		}

		public int Count
		{
			get
			{
				return (int)ExcelUtilityMethod.GetProperty(this.m_workSheets, "Count");
			}
		}

		private object m_workSheets;
	}
}
